Journals
  Publication Years
  Keywords
Search within results Open Search
Please wait a minute...
For Selected: Toggle Thumbnails
Mutation test method for browser compatibility of JavaScript
CHENG Yong, QIN Dan, YANG Guang
Journal of Computer Applications    2017, 37 (4): 1143-1148.   DOI: 10.11772/j.issn.1001-9081.2017.04.1143
Abstract497)      PDF (1031KB)(555)       Save
Since the research on testing technology for JavaScript browser compatibility problems is insufficient, based on mutation testing method and the analysis on the compatibility of JavaScript in Web applications in major browsers, eighteen mutation operators was designed, and an automated testing tool named Compatibility Mutator was implemented. Compatibility Mutator analyze JavaScript syntax with Abstract Syntax Tree (AST), calls various browsers with Selenium WebDriver to run mutation testing automatically and concurrently. The experiments on 7 widely-used JavaScript frameworks showed that the proposed mutation operators could generate a certain amount of mutants, the mutation scores got from mutation testing on jQuery and YUI were 43.06% and 7.69% respectively. Experimental results prove that the proposed operators can trigger the compatibility issues effectively, and evaluate the completeness of test suite effectively in finding the browser compatibility issues.
Reference | Related Articles | Metrics
Music style classification using mutual information
MA Guang-zhi, QIN Dan
Journal of Computer Applications    2005, 25 (05): 1116-1118.   DOI: 10.3724/SP.J.1087.2005.1116
Abstract2494)      PDF (155KB)(916)       Save
A music representation model based on relative pitch and relative time length was proposed. This model well represented the same melody under different performance conditions. Based on the model, a music style classification algorithm was proposed to measure music style through melody Mutual Information. The algorithm’s time scale was close to that of syncopation algorithm under Unigram and Bigram models. The algorithm well supported music style classification among multi-styles.
Related Articles | Metrics